// Copyright 2022 jeff.li. and/or its affiliates.


#include <tbir/runtime/cxxabi_helper.h>
#include <tbir/runtime/registry.h>

namespace tbir::runtime {

    TBIR_REGISTER_GLOBAL("runtime.USE_CXX11_ABI").set_body([](PyArgs args) -> RTValue {
        MXCHECK_EQ(args.size(), 0) << "[USE_CXX11_ABI] Expect 0 arguments but get " << args.size();
        return TbirAPI_USE_CXX11_ABI();
    });

}  // namespace tbir::runtime
